package com.edu.service.impl;
/*
 *
 *   @Author:max
 *   @Date: 2023/11/2-11-02-9:46
 *
 */

import com.edu.bean.User;
import com.edu.mapper.UserMapper;
import com.edu.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper ;
    @Override
    public List<User> getAllUser() {
        return userMapper.selectAllUsers();
    }
}
